package com.public_servant;

public class Text {
    public static void main(String[] args) {
        president p = new president();
        Category(p);

    }
    public static void Category(Object obj){
        president pr = new president();
        if(obj instanceof public_servant){
            System.out.println(pr.getCategory());
        }
    }

}
